# -*- coding: utf-8 -*-
"""
______________________________
  Author: zcj
  Email : 1923425117@qq.com
   Time : 2024/1/26 0026 10:05
    File: read_config_all.py
Software: PyCharm
______________________________
"""
from common import read_config

cof = read_config.Docof()
# test_*执行文件
sys = cof.get_value_from_option("environment", "sys_name")  # 本次执行的项目名称

# BusinessFlow_convert.py
Excel_yaml = cof.get_value_from_option("Excel_yaml", "case")  # 根据配置文件来整合 execl或者yaml 用例



#send_port.py
send_email = cof.get_value_from_option('send_email', 'send_or_not')  # 读取配置文件 判断是否需要发送报告

#util
exect = cof.get_value_from_option("environment", "execute")
ip = cof.get_value_from_option("environment", exect)